package com.ztesoft.book.core.sys.sysrole.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ztesoft.book.core.base.base.dto.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @Description 系统角色
 * @Author YangFan
 * @Date 2021-06-22 17:31
 */
@Data
@TableName("sys_role")
@EqualsAndHashCode(callSuper = true)
public class SysRoleDTO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 角色CODE
     */
    private String roleCode;

    /**
     * 角色名称
     */
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    /**
     * 备注
     */
    private String remark;


}
